// 测试用

import { defineStore } from 'pinia';

/**
 * 患者信息
 * @methods setPatientDetail 设置患者详情
 */
export const usePatientDetail = defineStore('patientDetail', {
	state: () => ({
		patientDetail: {
			name: '张三'
		},
    sexObj: {
      1: '男',
      2: '女'
    }
	}),
	actions: {
		setPatientDetail(data) {
			this.patientDetail = data;
		},
	},
});
